package com.example.demo.jpa.entity.vo;

import com.example.demo.jpa.entity.Solitaire;
import com.example.demo.jpa.entity.jsonobj.SolitaireConfig;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * Created with Software IntelliJ IDEA
 * <p>
 *
 * @author Administrator  2019/9/15 15:07
 * @version 1.0
 */
public class SolitaireVo extends Solitaire {

    private Long solitaireId;

    /**
     * 接龙配置，接龙内容
     */
    private SolitaireConfig config;

    /**
     * 接龙统计
     */
    private List<SolitaireStatisticsVo> statisticsList;

    /**
     * 发起者昵称
     */
    private String nickName;

    /**
     * 发起者头像
     */
    private String avatarUrl;

    /**
     * 是否可编辑
     */
    private Boolean editable;

    /**
     * 查询是否参与过接龙
     */
    private Boolean participate;

    /**
     * 参与总人数
     */
    private int total;

    private int statisticsTotal;

    private String monthDayTime;

    /**
     * 文件列表，当前用于保存接龙的图片列表，保存位置为接龙数据的json_field中
     */
    private List filelist;

    public Long getSolitaireId() {
        return solitaireId;
    }

    public void setSolitaireId(Long solitaireId) {
        this.solitaireId = solitaireId;
    }

    public SolitaireConfig getConfig() {
        return config;
    }

    public void setConfig(SolitaireConfig config) {
        this.config = config;
    }

    public List<SolitaireStatisticsVo> getStatisticsList() {
        return statisticsList;
    }

    public void setStatisticsList(List<SolitaireStatisticsVo> statisticsList) {
        this.statisticsList = statisticsList;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Boolean getEditable() {
        return editable;
    }

    public void setEditable(Boolean editable) {
        this.editable = editable;
    }

    public Boolean getParticipate() {
        return participate;
    }

    public void setParticipate(Boolean participate) {
        this.participate = participate;
    }

    public String getMonthDayTime() {
        return monthDayTime;
    }

    public void setMonthDayTime(String monthDayTime) {
        this.monthDayTime = monthDayTime;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getStatisticsTotal() {
        return statisticsTotal;
    }

    public void setStatisticsTotal(int statisticsTotal) {
        this.statisticsTotal = statisticsTotal;
    }

    public List getFilelist() {
        return filelist;
    }

    public void setFilelist(List filelist) {
        this.filelist = filelist;
    }
}
